<?php $this->import('Header') ?>
    <div class="row-fluid">
        <div class="btn-toolbar">
            <a href="javascript:;" onclick="history.go(-1);" class="btn">返回</a>
        </div>
        <div class="well">
            <div id="message-box"></div>
            <form method="post">
                <div id="account-div" class="tab-content">
                    <div class="tab-pane active in">
                        <label>账号</label>
                        <input type="text" name="account"  class="input-xlarge">
                        <label>密码</label>
                        <input type="password" name="password"  class="input-xlarge">
                        <label>权限组</label>
                        <select name="groupId" class="input-xlarge">
                            <?php foreach($groupList as $v) : ?>
                                <option <?php if (isset($groupId) && $groupId == $v['AccountGroupId']) echo 'select'; ?> value="<?php echo $v['AccountGroupId'] ?>" ><?php echo $v['GroupName']; ?></option>
                            <?php endforeach; ?>
                        </select>
                    </div>
                </div>
                <div class="btn-toolbar">
                    <button type="submit" class="btn btn-primary"><i class="icon-save"></i> 保存</button>
                    <button type="reset" class="btn">重置</button>
                </div>
            </form>
        </div>
    </div>
<?php $this->import('Footer') ?>
<script>
</script>